package foodmaterial.service;

import foodmaterial.dto.PermissionDto;
import foodmaterial.entity.CompanyDatabase;
import foodmaterial.entity.SysParams;

import java.io.IOException;
import java.sql.SQLException;
import java.util.List;

public interface InitService {

    public String addCompanyDatabase(CompanyDatabase companyDatabase)
            throws SQLException, IOException, ClassNotFoundException;

    public int modifyCompanyDatabase(CompanyDatabase companyDatabase) ;

    public List<CompanyDatabase> queryCompanyDatabase() ;

    int modifySysParams(SysParams sysParams) ;

    List<SysParams> querySysParams() ;

    SysParams querySysParamsByCode(String code) ;

    List<SysParams> querySysParamsByCodes(List<String> where) ;

    Integer getCompanyUseDays() ;

    String queryCompanyFun() ;

    String initCompanyPermission(PermissionDto dto);

}
